package com.gzz.orchid.common.core.model;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;

/**
 * 审批模型
 */
@Data
public class ApprovalCmd {
    @NotNull(message = "{required.parameter}")
    @Size(min = 1, message = "{required.least.n.item}")
    private Serializable[] ids;
    @NotNull(message = "{required.parameter}")
    private String action;
    @NotNull(message = "{required.parameter}")
    private String reason;
}
